import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import {
  ConfigProvider, Lazyload, Swipe, SwipeItem, Popup,
  Overlay, 
} from 'vant';
import 'vant/lib/index.css';

const app = createApp(App)

app.use(Lazyload, {loading: require('./assets/default.png')})
app.use(Swipe).use(SwipeItem).use(Popup).use(Overlay)
app.use(ConfigProvider); // 设置 vant 遮罩层默认背景透明度
app.use(store).use(router).mount('#app')
